package com.example.demo.util;

public class StringUtil {
    public static boolean isEmpty(String s) {
        if (s == null) {
            return true;
        }

        String trimmed = s.trim();

        return trimmed.length() == 0;
    }
}
